package com.alks.function.data.dto.produce;

import com.alks.entity.deserializer.LocalDateTimeDeserialize;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;
import java.util.List;

@Getter
@Setter
@NoArgsConstructor
@ToString
public class StitchCollectPrint2Dto {

    @ApiModelProperty(value = "单位",name = "deptName")
    private String deptName;

    @ApiModelProperty(value = "单位",name = "deptNo")
    private String deptNo;

    @ApiModelProperty(value = "缴库日期",name = "time")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime time;

    @ApiModelProperty(value = "总数量",name = "qtyCount")
    private Integer qtyCount;

    @ApiModelProperty(value = "仓库员",name = "warehouseman")
    private String warehouseMan;

    @ApiModelProperty(value = "领料员/缴库员",name = "sizeNo")
    private String operator;

    @ApiModelProperty(value = "指令",name = "lotNo")
    private String lotNo;

    @ApiModelProperty(value = "指令数据",name = "sizeNo")
    private List<StitchCollectLotDto> dateList;
}
